import { Component, ViewChild } from '@angular/core';
import { NavController } from 'ionic-angular';
import {HomePage} from "../home/home";

@Component({
  selector: 'page-message',
  templateUrl: 'message.html'
})
export class MessagePage {
  tab = 'self';
  data = [];
  constructor(public navCtrl:NavController) {
    this.data = [
      {
        avatar: '/assets/avatar.jpg',
        nickname: 'youzouzou'
      },
      {
        avatar: '/assets/avatar.jpg',
        nickname: 'youzouzou'
      },
      {
        avatar: '/assets/avatar.jpg',
        nickname: 'youzouzou'
      },
      {
        avatar: '/assets/avatar.jpg',
        nickname: 'youzouzou'
      },
      {
        avatar: '/assets/avatar.jpg',
        nickname: 'youzouzou'
      },
      {
        avatar: '/assets/avatar.jpg',
        nickname: 'youzouzou'
      },
      {
        avatar: '/assets/avatar.jpg',
        nickname: 'youzouzou'
      },
    ];
  }

}
